package com.bjpowernode.mapper;

import com.bjpowernode.beans.Activity;
import com.bjpowernode.dto.ResultPageDTO;

import java.util.ArrayList;

public interface ActivityMapper {
    ArrayList<Activity> getAll(ResultPageDTO resultPageDTO);

    int getCount(ResultPageDTO resultPageDTO);

    Activity get(String id);

    Activity getEditBefore(String id);

    int add(Activity activity);

    int del(String[] ids);

    int edit(Activity activity);
}
